package com.dd.pojo.entry;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 文件
 * @TableName sys_file
 */
@TableName(value ="sys_file")
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ApiModel("文件")
@Builder
public class File implements Serializable {

    @TableField(value = "file_md5")
    @ApiModelProperty("文件Md5")
    private String fileMd5;

    @ApiModelProperty("文件路径")
    @TableField(value = "file_path")
    private String filePath;

    @ApiModelProperty("文件类型 1 图片 2 文本 3 音乐 4 视频 5其他")
    @TableField(value = "file_type")
    private Integer fileType;


    @TableField(exist = false)
    private static final long serialVersionUID = 121L;


}